using FreeSql;
using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace BootstrapBlazorApp.Server.Data;
[Description("答题情况表")]
public class AnswerDetail:BaseEntity<AnswerDetail,int>
{
    [Description("用户ID")]
    public int UserId { get; set; }
    [Description("问题ID")]
    public int QuestionId { get; set; }
    
    [Description("回答")]
    [Column(StringLength = -1)]
    public string? UserAnswer { get; set; }
    
    [Description("得分")]
    public int? Score { get; set; }
    
    [Description("总评语")]
    [Column(StringLength = -1)]
    public string? OverallRemark { get; set; }
    
    [Description("详细评语")]
    [Column(StringLength = -1)]
    public string? DetailRemark { get; set; }
}
